var express = require('express');
var router = express.Router();

/* GET photos listing. */
var photos=[
  {name:'photo-A',path:'/photos/1.jpg'},
  {name:'photo-B',path:'/photos/2.jpg'}
];
router.get('/', function(req, res, next) {
  res.locals.title='photos';
  res.render('photos',{photos:photos});
});

module.exports = router;
